\application\config->database.php
$db['default'] = array(
'dsn' => '',
'hostname' => '104.198.177.3', //如果你是用本地端就填localhost
'username' => 'harris',
'password' => 'h70069h',
'database' => 'hshop',
'dbdriver' => 'mysqli',
//以下基本上沒用過
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);